﻿using YunZuan.Models.Attributes;
using YunZuan.Models.Entities;

namespace YunZuan.Models
{
    [Table(TableName = "yz_link", PrimaryKey = "ID")]
    public class Link : BaseEntity
    {
        #region Private Properties
        private int id;
        private string qq;
        private string weChat; 
        private string companyName;
        private string logo;
        private string homeImg;
        private string addressInfo;
        private string telphone;
        private string tel;
        private string mobile;
        private string email;
        private string icpno;
        private string icplink;
        private string gonganno;
        private string gonganlink;
        private string indexPage_Title;
        private string loginPage_Head;
        private string imgBrand;
        private string imgMap1;
        private string imgMap2;
        private string imgMap3;
        #endregion

        #region Public Properties

        public int ID
        {
            get
            {
                return id;
            }
            set
            {
                this.ChangeNotify<int>("ID", value, ref id);
            }
        }
        /// <summary>
        /// QQ.
        /// </summary>
        public string QQ
        {
            get
            {
                return qq;
            }
            set
            {
                this.ChangeNotify<string>("QQ", value, ref qq);
            }
        }

        /// <summary>
        /// WeChat.
        /// </summary>
        public string WeChat
        {
            get
            {
                return weChat;
            }
            set
            {
                this.ChangeNotify<string>("WeChat", value, ref weChat);
            }
        }
        
        public string Logo
        {
            get
            {
                return logo;
            }
            set
            {
                this.ChangeNotify<string>("Logo", value, ref logo);
            }
        }
        public string CompanyName
        {
            get
            {
                return companyName;
            }
            set
            {
                this.ChangeNotify<string>("CompanyName", value, ref companyName);
            }
        }
        public string HomeImg
        {
            get
            {
                return homeImg;
            }
            set
            {
                this.ChangeNotify<string>("HomeImg", value, ref homeImg);
            }
        }
        public string AddressInfo
        {
            get
            {
                return addressInfo;
            }
            set
            {
                this.ChangeNotify<string>("AddressInfo", value, ref addressInfo);
            }
        }
        public string Telphone
        {
            get
            {
                return telphone;
            }
            set
            {
                this.ChangeNotify<string>("Telphone", value, ref telphone);
            }
        }
        public string Tel
        {
            get
            {
                return tel;
            }
            set
            {
                this.ChangeNotify<string>("Tel", value, ref tel);
            }
        }
        public string Mobile
        {
            get
            {
                return mobile;
            }
            set
            {
                this.ChangeNotify<string>("Mobile", value, ref mobile);
            }
        }
        public string Email
        {
            get
            {
                return email;
            }
            set
            {
                this.ChangeNotify<string>("Email", value, ref email);
            }
        }
        public string ICP_No
        {
            get
            {
                return icpno;
            }
            set
            {
                this.ChangeNotify<string>("ICP_No", value, ref icpno);
            }
        }
        public string ICP_link
        {
            get
            {
                return icplink;
            }
            set
            {
                this.ChangeNotify<string>("ICP_link", value, ref icplink);
            }
        }
        public string GongAn_No
        {
            get
            {
                return gonganno;
            }
            set
            {
                this.ChangeNotify<string>("GongAn_No", value, ref gonganno);
            }
        }
        public string GongAn_link
        {
            get
            {
                return gonganlink;
            }
            set
            {
                this.ChangeNotify<string>("GongAn_link", value, ref gonganlink);
            }
        }

        public string ImgBrand
        {
            get
            {
                return imgBrand;
            }
            set
            {
                this.ChangeNotify<string>("ImgBrand", value, ref imgBrand);
            }
        }
        public string ImgMap1
        {
            get
            {
                return imgMap1;
            }
            set
            {
                this.ChangeNotify<string>("ImgMap1", value, ref imgMap1);
            }
        }
        public string ImgMap2
        {
            get
            {
                return imgMap2;
            }
            set
            {
                this.ChangeNotify<string>("ImgMap2", value, ref imgMap2);
            }
        }
        public string ImgMap3
        {
            get
            {
                return imgMap3;
            }
            set
            {
                this.ChangeNotify<string>("ImgMap3", value, ref imgMap3);
            }
        }
        /// <summary>
        /// 首页抬头语
        /// </summary>
        public string IndexPage_Title
        {
            get
            {
                return indexPage_Title;
            }
            set
            {
                this.ChangeNotify<string>("IndexPage_Title", value, ref indexPage_Title);
            }
        }
        /// <summary>
        /// 登录顶部用于客户欢迎或提示语（用于批发，分销）
        /// </summary>
        public string LoginPage_Head
        {
            get
            {
                return loginPage_Head;
            }
            set
            {
                this.ChangeNotify<string>("LoginPage_Head", value, ref loginPage_Head);
            }
        }
        #endregion
    }
}
